#ifndef SETTLEMENT_TYPE_H
#define SETTLEMENT_TYPE_H


#include <map>
#include <string>
#include <vector>


class SettlementType
{
public:
	static void                            add(std::shared_ptr<SettlementType> settlementType);
	static std::shared_ptr<SettlementType> get(std::string id);

	static std::vector<std::shared_ptr<SettlementType>> cities;
	static std::vector<std::shared_ptr<SettlementType>> castles;

	std::string id;
	bool isCastle;
	int level;

private:
	static std::map<std::string, std::shared_ptr<SettlementType>> idsMap;
};


#endif